﻿@using DevExpress.Web.Mvc.UI
@using Dogshow.Web.ViewModels.Psi
@model MojiPsiViewModel

@{
    ViewBag.Title = "Dogshow - Moji psi";
}

<style>
.slikaPsa {float: left; width: 155px;}
.detaljPsa 
{
    border-bottom: 1px solid #EEE;
    height: 160px;
}
.akcija 
{
    text-align: left;
}

.detaljPsa p 
{
    padding: 2px 0 0 10px;    
    margin: 0 0 0 160px;
}


.akcija 
{
    margin-top: 10px;
    font-size: 11px;
}

#noviUnos 
{
    margin-bottom: 10px;
}
</style>

<div>
    <div class="line" id="noviUnos">
            @Html.DevExpress().HyperLink(s =>
            {
                s.Name = "btnNoviUnos";
                s.Properties.Text = "Novi unos";
                s.Properties.Style.Cursor = "Pointer";
            }).Bind(Model.NoviUnosLink).GetHtml()
    </div>
    <div>
        @foreach (var pas in Model.MojiPsi)
        {
            @Html.Partial("_PasPreview", pas)
        }
    </div>
</div>